home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-12-14 | 5.7 KB | 136 lines | [TEXT/MRPH] |
- ;----------------------------------------------------------------------------
- ; Worksheet
- ;
- ; Use this window as a scratch pad for keeping notes and as a space for
- ; temporary and intermediate work. Its contents are saved between launches
- ; of the PlainText program.
- ;
- ;----------------------------------------------------------------------------
-
- This is a beta version of PlainText. While all major features work,
- and seem to work well on the machines I have tested them on, there are a
- number of minor features not yet implemented. I’ll mention them as I go
- through the menus and give you a brief introduction to PlainText.
-
- First of all, you should make a copy of this file and save it
- somewhere with a different name. One way of doing this is to select the
- “Save a Copy” item from the File Menu. Name the copy “Original PlainText
- Worksheet” or some such.
-
- File Menu
- This is standard Mac stuff. Everything but “Revert to Saved” is
- implemented. PlainText will open any text file and its own binary files.
- These latter produce a map window. Printing works passibly well for text,
- just tolerably well for map windows and is not worth bothering with for
- data entry windows. I know how I want printing to be for each type of
- window. It’s just not done yet.
-
- Edit Menu
- Everything works except “Show Clipboard” and “Format…,” i.e. you’re
- stuck looking at this 9 point monaco font for a while. Realize that most of
- the Edit menu functions apply only to text and so are not active when a map
- window is front most. Check out the Undo function. It really works like it
- should!
-
- Find Menu
- This all works. “Find…” and “Replace…” are pretty standard and pretty
- intuitive functions for text windows. The search string can be a selection
- expression, that is, an expression that contains wildcards. Try a search
- using *menu as the selection expression. Choose “Find…” and type “*menu”
- (with or without quotes) and click the “Selection Expression” check box.
- Now click the Find button (or hit the return key). See how a lines
- containing “menu” has been found? Command-G repeats the search.
-
- If the selection expression is a number, it is interpreted as a line number.
- Try 47 as a selection expression.
-
- This line, the 47th in this window, will be selected.
-
- If you hold down the shift key when you choose any of the Find menu
- items, then the search will be in the reverse direction. This is handiest
- when used in conjunction with the keyboard equivalents command-h and
- command-g.
-
- Mark Menu
- Marks are like bookmarks that you can place in a text or map file so
- that you can recall previous selections. When you select a mark from the
- Mark Menu, the text or survey corresponding to that mark is selected and
- the window scrolls to show it. Marks the window size, current selection,
- and scrollbar position). You can add new marks with the Mark menu item and
- remove them with Unmark. You can alphabetize the order in which marks are
- displayed in the Mark Menu by selecting the Alphabetize menu item. Selecting
- it again restores the original order. Look at the Marks that I have made
- for this file by opening the Marks Menu.
-
- Window Menu
- Stack and Tile windows work, as does the rest, a catalog of open
- windows.
-
- Convert Menu
- These functions all work. If you spot bugs in them, be sure to let
- me know.
-
- PlainText is a good text editor. Besides being fast and able to handle
- even very large files, it also has some built-in features:
-
- 1. Double-clicking selects a whole word.
- 2. Triple-clicking selects a whole line.
- 3. Double clicking on a bracket or parenthesis (i.e. “[”, “{”, etc.)
- causes all the text between the bracket or parenthesis and its
- matching bracket or parenthesis to become selected.
- 4. Cutting, pasting, and undoing are fully implemented.
- 5. The arrow keys work to move the insertion point or selection (hold
- the shift key down) in the expected ways.
- 6. Command-option-uparrow move the insertion point to the top of the
- file. Command-option-downarrow does the opposite. Holding the shift
- key down while doing either of these extends the selection to either
- the top or bottom of the document.
- 7. It is a command-line interpreter in its own right. Simply type a
- command that PlainText understands and then hit the enter (not
- return) key.
-
- PlainText also performs the following commands executed from any text
- window: ls (same as dir in DOS), cd (change directory), open, target,
- find, line. Open opens the named file and makes it the front window.
- Target is similar except the window is made the target window (second
- from front). “line n” selects selects the nth line of the target
- window (n is a number. “Find exp” searchs the target window for the
- string “exp.” Wildcards can be used with the find and ls commands,
- just as you would expect in DOS.
-
- In summary, hitting the enter key causes the current line or current
- selection, whichever is smaller, to be interpreted as a command line.
-
- Commands implemented:
-
- cd Change default directory (folder)
- file Open a file and make it the target.
- find ss Find an string
- ls List a directory's contents.
- ls -l Give a full listing of a directory's contents.
- line nn Select line nn in the target window.
- open ff Open a file
-
- Large Files
-
- PlainText must load it's text files entirely into memory. If you get
- an out of memory error message when trying to open a very large file, just
- increase the partition (in the Finder's Get Info for PlainText) to be
- larger than the file being opened. In System 7, turn on virtual memory
- if you have to.
-
- Bug Reports
-
- Send comments and complaints to:
-
- Mel Park
- Department of Anatomy and Neurobiology
- University of Tennessee
- 855 Monroe Avenue
- Memphis, TN 38163
- (901) 528-5984
- mpark@utmem1.utmem.edu
-
- PlainText is free.
-
-